/*  font-family: 'Source Sans Pro', sans-serif;  */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1rem;
  color: #404040;
  text-align: center;
}

/* =================
 Typography 
 ================= */

h1 {
  font-size: 2.25rem;
  font-weight: 300;
  color: #fff;
  margin: 0;
}

h1 + p {
  color: #3ec1d8;
  font-weight: 900;
  font-size: 1.3125rem;
  text-transform: uppercase;
  margin: 0;
}

h2 {
  font-size: 1.3125rem;
  margin: 0;
}

h2 + p {
  font-weight: 900;
  color: #3ec1d8;
  /* color: #f18119; */
  margin-top: 0;
  text-transform: uppercase;
}

.top-text {
  font-size: 0.625rem;
  color: #5ed1e6;
  font-weight: 900;
  text-transform: uppercase;
  order: -1;
  margin-top: 0;
  border-top: 5px solid #3ec1d8;
  border-image: linear-gradient(to left, #3ec1d8, #2f93a5) 1;
  /* letter-spacing: 1px; */
}

.fine-print {
  font-size: 0.625rem;
  letter-spacing: 1px;
}

strong {
  font-weight: 900;
  color: #77e8fbf5;
}

/* =================
 Intro section 
 ================= */

.intro {
  /* For darkening an image you will need to add a background color */
  /* You will also need to use the background-blend-mode property: multiply */
  /* background-image: url(/images/ribs.jpg); */
  background-image: url(/images/Space1.jpg);
  /* For galaxy bg */
  /* background-image: url(/images/tatooine-sunset.jpg); */
  /* background-image: url(images/ribs.jpg), linear-gradient(45deg,red, blue); */
  background-color: #6d6d6d;
  /* background-color: #333333; */
  /* background-color: #404040; */
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center; /* For galaxy bg */
  /* background-position: -650px; */
  padding: 0 0.5em 2em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 50vh;
}

/* =================
 main-content section 
 ================= */

.main-content {
  padding: 2em 1em;
}

.intro > *,
.main-content > * {
  max-width: 410px;
  margin-left: auto;
  margin-right: auto;
}

/* =================
 form
 ================= */

.email-collector {
  width: 80%;
  max-width: 300px;
}

input,
.btn {
  width: 100%;
  border-radius: 5px;
}

input {
  font-family: inherit;
  text-align: inherit;
  margin-bottom: 0.75em;
  padding: 0.25em;
  border: 1px solid #404040;
}

.btn {
  display: inline-block;
  padding: 1em 1.5em;
  font-size: 0.625rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  /* background: linear-gradient(to left, #ff713b, #ffa51d); */
  background: linear-gradient(to right, #3ec1d8, #2f93a5);
  color: white;
}

/* .gif {
  background-image: url(/images/ribs.jpg);
  background-size: cover;
  background-color: #404040;
  background-position: center;
} */

/* =================
 media queries 
 ================= */

@media (min-width: 500px) {
  body {
    font-size: 1.125rem;
    display: flex;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2,
  h1 + p {
    font-size: 1.75rem;
  }

  .intro,
  .main-content {
    width: 50%;
    min-height: 100vh;
  }

  .main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
